<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <strong>{{obj.name}}</strong>
    <strong>{{obj.age}}</strong>
    <strong>{{obj.wife}}</strong>
    <button @click="clickFn">click</button>
</div>
</body>
<script src="./js/vue.js"></script>
<script>
    new Vue({
        el:"#app",
        data:{
            obj:{
                name:"damu"
            }
        },
        methods:{
            clickFn(){
                this.obj.name = "达姆";
                this.obj.age = 18;
                this.obj.wife = "周冬雨"
            }
        }
    })
</script>
</html>